package com.tbit.uqbike.object.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author yee_
 * @version 1.0
 * @date 2023/3/8 10:52
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("otaaccessconfig")
public class OtaAccessConfig {
    @TableId(type = IdType.INPUT)
    @NotNull(message = "请选择品牌")
    private Integer brandId;
    private String brandName;
    @NotBlank(message = "请填写访问key")
    private String accessKey;
    @NotBlank(message = "请填写访问密钥")
    private String accessSecret;
}
